package com.siloam.service;

import java.util.List;

import com.siloam.dao.ArticleCategoryDao;
import com.siloam.module.ArticleCategory;

public class ArticleCategoryService {
	
	private ArticleCategoryDao articleCategoryDao;

	public ArticleCategoryDao getArticleCategoryDao() {
		return articleCategoryDao;
	}

	public void setArticleCategoryDao(ArticleCategoryDao articleCategoryDao) {
		this.articleCategoryDao = articleCategoryDao;
	}
	
	public List<ArticleCategory> findAll(){
		return articleCategoryDao.findAll();
	}
	
	public ArticleCategory load(int id){
		return articleCategoryDao.load(id);
	}
	
}
